home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 7: Sunsite / Linux Cubed Series 7 - Sunsite Vol 1.iso / system / linux-bo / dless-li / root.no / etc / rc.d / rc.K < prev    next >
Text File  |  1995-04-26  |  390b  |  18 lines

  1. #! /bin/sh
  2. #
  3. # rc.K        This file is executed by init(8) when the system is being
  4. #        brought down to single user mode. It reverses things
  5. #        set up by rc.M, such as unmounting file systems.
  6. #
  7. # Version:    @(#)/etc/rc.d/rc.S    1.01    03/10/93
  8. #
  9. # Author:    Miquel van Smoorenburg, <miquels@drinkel.nl.mugnet.org>
  10. #
  11.  
  12.   # Stop swapping
  13.   /sbin/swapoff -a
  14.  
  15.   # Unmount all file systems
  16.   /sbin/umount -a
  17.  
  18.